package com.emellend.api.internal;

import com.emellend.api.view.InternalSelectionView;

import android.app.Activity;
import android.os.Bundle;
import android.view.ViewGroup;
import android.widget.LinearLayout;

public class InternalSelectionFocus extends Activity {
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		final LinearLayout layout=new LinearLayout(this);
		layout.setOrientation(LinearLayout.HORIZONTAL);
		layout.setLayoutParams(new ViewGroup.LayoutParams(
				ViewGroup.LayoutParams.MATCH_PARENT,ViewGroup.LayoutParams.MATCH_PARENT));
		LinearLayout.LayoutParams params=new 
				LinearLayout.LayoutParams(0,ViewGroup.LayoutParams.MATCH_PARENT,1);
		final InternalSelectionView leftColumn=new InternalSelectionView(this,7,"left column");
		leftColumn.setLayoutParams(params);
		leftColumn.setPadding(10, 10, 10, 10);
		layout.addView(leftColumn);
		
		final InternalSelectionView middleColumn=new InternalSelectionView(this, 8,"middle column");
		middleColumn.setLayoutParams(params);
		middleColumn.setPadding(10, 10, 10, 10);
		layout.addView(middleColumn);
		
		final InternalSelectionView rightColumn=new InternalSelectionView(this, 10,"right cloumn");
		rightColumn.setLayoutParams(params);
		rightColumn.setPadding(10, 10, 10, 10);
		layout.addView(rightColumn);
		
		setContentView(layout);
		
	}
}
